AbsOperator
Type
operator
Summary
Absolute value operator.
Syntax
the abs of <Operand>
Description
The absolute value of Operand is the value of Operand if it is greater than or equal to 0, or the negation of the value of Operand if it is less than zero.
Parameters
Name | Type | Description |
---|---|---|
Operand | An expression that evaluates to a number. |
Examples
variable tVar as Number
put the trunc of 3.9 into tVar -- tVar contains 3